package com.pactera.miyuangroup.vo.convertor;

import com.pactera.miyuangroup.db.entity.GoodsClassification;
import com.pactera.miyuangroup.vo.response.app.AppClassificationRes;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * 商品分类
 *
 * @author Wangwu
 * @create 2018-04-28 下午2:15
 **/
@Mapper(componentModel = "spring")
public interface GoodsClassificationConvert {

    AppClassificationRes convert2ClassificationRes(GoodsClassification obj);

    List<AppClassificationRes> convert2ClassificationResList(List<GoodsClassification> objs);

}
